home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / mint / mintmant / pnice.txt < prev    next >
Text File  |  1992-03-24  |  1KB  |  64 lines

  1. Pnice(2)                  Oct. 1, 1991                   Pnice(2)
  2.  
  3.  
  4.  
  5. NAME
  6.      Pnice - change process priority for the current process
  7.  
  8. SYNOPSIS
  9.      WORD Pnice( WORD delta );
  10.  
  11. DESCRIPTION
  12.      Pnice changes the base process niceness for the current pro-
  13.      cess  by  the  amount  delta.   Higher  levels  of  niceness
  14.      correspond to decreased priority in scheduling, so  positive
  15.      values  for  delta  cause  the  corresponding  process to be
  16.      scheduled less often. Conversely, negative values for  delta
  17.      cause the process priority to be increased.
  18.  
  19. RETURNS
  20.      The (adjusted) process priority, as a 16 bit signed integer.
  21.      0  is  the  default  priority; values greater than 0 are for
  22.      higher priority processes  (ones  that  are  scheduled  more
  23.      often), and values less than 0 are lower priority processes.
  24.  
  25. SEE ALSO
  26.      Prenice(2)
  27.  
  28. BUGS
  29.      The scheduling algorithm is pretty weird, so  it's  hard  to
  30.      predict exactly what effect process priorities have.
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60. Version 0.9   Last change: MiNT Programmer's Manual             1
  61.  
  62.  
  63.  
  64.